﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="offeruser.aspx.cs" Inherits="lcmyjobs.Web.Admin.offeruser" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>悬赏求职揭榜</title>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/mybasic.js" type="text/javascript"></script>
   
    <link href="../css/AdminFrame.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

        .tdleftmargin{ text-align:left;  padding-left:25px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="rightCenter">
        <div class="rightBack">
            <div class="rightContentTop">
                <ul>
                    <li ><a href="userReward.aspx">全部悬赏人才</a> </li>
                    <li><a href="ListRewardJobs.aspx">全部悬赏职位</a> </li>
                    <li><a href="ListOfferJobs.aspx">悬赏招聘揭榜</a> </li>
                    <li class="cur"><a href="offeruser.aspx">悬赏求职揭榜</a> </li>
                </ul>
            </div>
            <div class="rightContentMiddle">
             <table  width="100%">
                <tr>
                    <td style=" text-align:left; font-size:12px; " class="style3">
                        <asp:Image ID="Image1" CssClass=" imgstyle" ImageUrl="../images/h_ctenter_iocn.jpg" runat="server" />&nbsp;
                      <span class="spanstyle">等待求职揭榜<asp:Label ID="lbl_count" runat="server"></asp:Label>个</span>
                    </td>
                    <td style=" text-align:left">
                          
                    </td>
                </tr>
                 <tr>
                    <td colspan="2">
                      <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="oid"
                    EnableModelValidation="True" OnRowDataBound="GridView1_RowDataBound" 
                    OnRowDeleting="GridView1_RowDeleting" Width="100%" CssClass="grid" 
                    GridLines="None">
                    <Columns>
                        <asp:TemplateField HeaderText="悬赏人">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <HeaderTemplate>
                                <input id="Checkbox1" type="checkbox" onclick="checkall(this)" />
                                悬赏人
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox ID="chku" runat="server" />
                                <asp:HyperLink ID="HyperLink1" target='_blank' NavigateUrl='<%# "showuser.aspx?id="+Eval("uid") %>' runat="server"><%# Eval("rbh") %></asp:HyperLink>                                
                                
                            </ItemTemplate>
                            <HeaderStyle HorizontalAlign="Left" CssClass="tdleftmargin"/>
                            <ItemStyle  CssClass="tdleftmargin" HorizontalAlign="Left" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="job" HeaderText="推荐职位" />
                      
                        <asp:HyperLinkField DataNavigateUrlFields="oid" DataNavigateUrlFormatString="showoffer.aspx?id={0}"
                             DataTextField="offername"  HeaderText="揭榜人" Target="_blank"  />
                        <asp:BoundField DataField="offerID" HeaderText="居民身份证" />
                        <asp:BoundField DataField="phone" HeaderText="手机" />
                        <asp:BoundField DataField="email" HeaderText="E-Mail" />
                        <asp:BoundField DataField="status" HeaderText="处理状态" />
                        <asp:BoundField DataField="offertime" HeaderText="揭榜时间" DataFormatString="{0:yyyy-MM-dd H:mm}" />
                        <asp:HyperLinkField DataNavigateUrlFields="oid" DataNavigateUrlFormatString="showoffer.aspx?id={0}"
                            Text="查看" Visible="False" />
                        <asp:TemplateField ShowHeader="False" HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="Delete"
                                    OnClientClick= "return confirm('确认要删除吗？')" Text="删除"></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
 
                    </td>
                </tr>
                <tr>
                    <td colspan="2"  class="pagerstyle">
                      <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                    PageSize="15" AlwaysShowFirstLastPageNumber="True" CustomInfoTextAlign="Left"
                    FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" NumericButtonCount="10"
                    PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="cpb" CustomInfoHTML="第 %CurrentPageIndex% 页 共 %PageCount%页 %RecordCount%条记录 "
                    LayoutType="Table" ShowCustomInfoSection="Left" ShowNavigationToolTip="True"
                    ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextAfterPageIndexBox="&nbsp;页"
                    TextBeforePageIndexBox="转到第" AlwaysShow="True">
                </webdiyer:AspNetPager>
                                 
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="style4">
                    &nbsp;
                        </td>
                </tr>
                <tr>
                    <td colspan="2">

                    <div style=" margin:0 auto; width:500px;">
                       <asp:Button ID="btnCheck" runat="server" Text="处理中" OnClick="btnCheck_Click" OnClientClick="if(havecheck()) return confirm('确认要处理中吗？')"  CssClass="bgbtn" />
                &nbsp;&nbsp;
                <asp:Button ID="btnNOCheck" runat="server" Text="失败" OnClick="btnNOCheck_Click" OnClientClick="if(havecheck()) return confirm('确认要失败吗？')"  CssClass="bgbtn"/>
                &nbsp;&nbsp;
                <asp:Button ID="btnOK" runat="server" Text="成功" OnClick="btnOK_Click" OnClientClick="if(havecheck()) return confirm('确认要成功吗？')"  CssClass="bgbtn"/>
                &nbsp;&nbsp;
                <asp:Button ID="btnrefreshAdv" runat="server" Text="删除" OnClick="btnrefreshAdv_Click" OnClientClick= "if(havecheck()) return confirm('确认要删除吗？')"  CssClass="bgbtn"/>
                </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        &nbsp;</td>
                </tr>
            </table>
               
                
               
            </div>
        </div>
    </div>
    </form>
</body>
</html>
